<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        a{
            color: #616660;
            text-decoration: none;
        }
        .nav{
            display: grid;
            /* grid-template-columns: repeat(11,1fr); */
            grid-template-columns: repeat(auto-fill,minmax(30px,1fr));
            /* fit */
            grid-template-rows: 1fr 1fr;
            /* justify-content: center; */
            position: sticky;
            top: 20px;
            /* width: 935px; */
            width: 100%;
            height: 66px;
            /* border: 1px solid red; */
            margin: 35px auto;
            gap: 10px;

        }
        .nav a {
            background-color: aliceblue;
            border-radius: 6px;
            border: 1px solid #f1f2f3;
            text-align: center;
            line-height: 28px;
            font-size: 14px;
        }
        .mian{
            display: grid;
            grid-template-columns: repeat(5,1fr);
            /* grid-template-columns: repeat(auto-fill,1fr); */
            gap: 10px;
            max-width: 1200px;
            /* border: 1px solid red; */
            margin: 100px auto;
            padding: 10px;
        }
        .mian .video{
            height: 120px;
            background-color: #5f5f5f;
            border-radius: 15px;
        }
        .mian .video:first-child{
            /* 第几个线到第几个线 */
            grid-column: 1/3;
            grid-row: 1/3;
            /* 跨几个单元格 */
            /* grid-column: 1/span2; 
            grid-row: 1/span2; */
            height: auto;
        }
    </style>
</head>
<body>
    <div class="nav">
        
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>
        <a href="#">1</a>

    </div>
    <div class="mian">
        <div class="video">1</div>
        <div class="video">2</div>
        <div class="video">3</div>
        <div class="video">4</div>
        <div class="video">5</div>
        <div class="video">6</div>
        <div class="video">7</div>
        <div class="video">8</div>
        <div class="video">9</div>
        <div class="video">10</div>
        <div class="video">11</div>
        <div class="video">12</div>

    </div>
</body>
</html>